import { createApp } from "vue";
import App from "./App.vue";
import "element-plus/dist/index.css";
import element from "element-plus";
import "dayjs/locale/zh-cn"; // 中文
import router from "./router";
import request from "@/utils/request";

import "./assets/global.css";
import locale from "element-plus/lib/locale/lang/zh-cn.js";
import Tabs from "./components/Tabs"
import SelectComponent from  "./components/Select"
const app = createApp(App);

app.use(element, { size: "big", locale });
// app.use(element, { size: "small", locale });
// app.use(element,{locale})
app.use(router);
app.config.globalProperties.request = request;
app.provide("baseurl", "http://127.0.0.1:8010");
// app.provide("baseurl", "http://192.168.111.89:8010");

// app.provide('baseurl','https://python.ziz7.top:5000')
// app.provide('baseurl','http://8.130.40.21:5000')
app.component('k-tab',Tabs)
app.component('k-select',SelectComponent)

app.mount("#app");
